<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@taglib uri="http://jsptags.com/tags/navigation/pager" prefix="pg" %>
<html>
    <head>
        <title>Travel - Home</title>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
        <link rel="stylesheet" type="text/css" href="style.css" />
        <link rel="stylesheet" type="text/css" href="east2west.css" />
        <script language="JavaScript">
            <!--
            function mmLoadMenus() {
                if (window.mm_menu_0820212933_0) return;
                window.mm_menu_0820212933_0 = new Menu("root",93,18,"",12,"#000000","#000000","#CCCCCC","#999999","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
                mm_menu_0820212933_0.addMenuItem("Tours","location='tour.do?action=listTour'");
                mm_menu_0820212933_0.addMenuItem("Car&nbsp;Rental&nbsp;","location='Car.do?action=listcar'");
                mm_menu_0820212933_0.hideOnMouseOut=true;
                mm_menu_0820212933_0.bgColor='#555555';
                mm_menu_0820212933_0.menuBorder=1;
                mm_menu_0820212933_0.menuLiteBgColor='#FFFFFF';
                mm_menu_0820212933_0.menuBorderBgColor='#777777';

                window.mm_menu_0820213214_0 = new Menu("root",63,18,"",12,"#000000","#000000","#CCCCCC","#999999","left","middle",3,0,1000,-5,7,true,false,true,0,true,true);
                mm_menu_0820213214_0.addMenuItem("Hotel","location='hotel.do?action=listHotel'");
                mm_menu_0820213214_0.addMenuItem("Flights","location='flight.do?action=listFlightL'");
                mm_menu_0820213214_0.hideOnMouseOut=true;
                mm_menu_0820213214_0.bgColor='#555555';
                mm_menu_0820213214_0.menuBorder=1;
                mm_menu_0820213214_0.menuLiteBgColor='#FFFFFF';
                mm_menu_0820213214_0.menuBorderBgColor='#777777';

                mm_menu_0820213214_0.writeMenus();
            } // mmLoadMenus()
            //-->
        </script>
        
        <script language="JavaScript" src="mm_menu.js"></script>
        <script language="JavaScript" src="East2West.js"></script>
    </head>

    <body onLoad="hide('car');hide('hotel');hide('flight');show('tour');">
        <script language="JavaScript1.2">mmLoadMenus();</script>
        <div id="header"> <a href="index.html" class="logo"><img src="images/bnere.png" alt="" width="984" height="126" /></a>

            <div class="inner_copy"><a href="http://www.greatdirectories.org/">web directories</a><a href="http://www.bestfreetemplates.info/">free CSS templates</a></div>
        </div>
        <div>
            <ul id="menu">
                <li><a href="index.jsp"><img src="icon/home-icon.png" height="25">Home Page</a></li>
                <li><a href="#" name="link2" id="link1" onMouseOver="MM_showMenu(window.mm_menu_0820212933_0,0,25,null,'link2')" onMouseOut="MM_startTimeout();"><img src="icon/objects-icon.png" height="25">Services</a></li>
                <li><a href="#" name="link3" id="link3" onMouseOver="MM_showMenu(window.mm_menu_0820213214_0,0,25,null,'link3')" onMouseOut="MM_startTimeout();"><img src="icon/signature-icon.png" height="25">Infomation</a></li>
                <li><a href="about.jsp"><img src="icon/Administrator-icon.png" height="25">About Company</a></li>
                <li><a href="contact1.jsp"><img src="icon/message-already-read-icon.png" height="25">Contact us</a></li>
                <li><a href="sitemap.jsp"><img src="icon/Calculator-icon.png" height="25">SiteMap</a></li>
                        <logic:present name="acc">
                    <li><a href="adminHome.jsp"><img src="icon/home-icon.png" height="25">admin</a></li>
                    <li><a href="login.do?action=logout">logout</a></li>
                </logic:present>
                <logic:notPresent name="acc">
                    <li><a href="adminHome.jsp"><img src="icon/lock-icon.png" height="25">Login</a></li>
                        </logic:notPresent>
                <li><a href="CartView.do?action=getCart"><img src="icon/glossy-3d-blue-orbs2-128-icon.png" height="25">Your Cart</a></li>
            </ul>
        </div>
        <!--bat dau phan body-->
        <div id="content">
            <div id="main"> </div>
            <div id="sidebar">
                <div class="news">
                    
                    <table width="100%" cellspacing="0" cellpadding="0" bgcolor="#ffffff" align="center" class="table0">
                        <tbody><tr>
                                <td class="td1"></td>

                                <td class="top"></td>
                                <td class="topright"></td>
                            </tr>
                            <tr>
                                <td rowspan="3" class="middleleft"></td>
                                <td bgcolor="#f0f0f0">
                                    <center> <h4>CONTACT US</center>

                                </td>
                                <td rowspan="3" class="middleright"></td>
                            </tr>
                            <tr>
                                <td class="middlecenter"></td>
                            </tr>
                            <tr>
                                <td class="main">
                                    <form method="post">
                                    <table width="900">
                                        <tr>
                                            <td width="900">

                                                <font size="2">

                                                    <br><br>

                                                    <fieldset  style="color:blue;"><legend><b>General Information</b></legend>
                                                        <p>
                                                            <b>Name:</b> <input type="text" name="Name" id="Name "><font color="red">(*)</font><br><br>
                                                            <b>Nationality:</b> <input type="text" name="Nationality" id="Nationality"><font color="red">(*)</font><br><br>
                                                            <b>Phone:</b> <input type="text" name="phone" id="phone"><font color="red">(*)</font> <br><br>
                                                            <b>To Email :</b> <input type="text" name="email" value="tltgroup@group.com"><font color="red">(*)</font> <br><br>
                                                            <b>From Email :</b> <input type="text" name="Nmail" id="Nmail"><font color="red">(*)</font> <br><br>
                                                            <b>Sub:</b> <input type="text" name="sub" id="sub"><font color="red">(*)</font> <br><br>
                                                            <b>Contact :</b><font color="red">(*)</font><br><br>
                                                            <textarea name="sendmail" style="width:890px;height:200px" id="sendmail"></textarea> <br><br>
                                                    </fieldset>
                                                    <input type="submit"  value="SEND" onclick="return formValidator()">
                                                    <font color="red">(*)</font> <i>Note : Plesate enter Field</i>
                                                </font>
                                            </td>
                                        </tr>

                                    </table>
                                    </form>
                                </td></tr><tr>
                                <td class="bottom"><img border="0" src="img/pod_main_bottom_left.gif" alt=""></td>
                                <td class="bottomright"><p align="right">&nbsp;</p></td>
                                <td class="bottomleft"><img border="0" src="img/pod_main_bottom_right.gif" alt=""></td>
                            </tr>
                        </tbody></table>
                    </td>
                    </tr>
                    </tbody></table>


                </div>
                <!--flight-->
            </div>
        </div>
    </div>
    <!--ket thuc body-->
    <div id="footer">
        <ul>
            <li><a href="index.jsp"><img src="icon/home-icon.png" height="25">Home Page</a></li>
            <li><a href="about.jsp"><img src="icon/Administrator-icon.png" height="25">About Company</a></li>
            <li><a href="contact1.jsp"><img src="icon/message-already-read-icon.png" height="25">Contact us</a></li>
            <li><a href="sitemap.jsp"><img src="icon/Calculator-icon.png" height="25">SiteMap</a></li>

        </ul>
        <p>Copyright &copy; 2010. All rights reserved. Design by <a href="http://code.google.com/p/tlteast2west/" target="_blank" title="TLT Group" class="bft">TLT Group</a></p>
        <div class="inner_copy"><a href="http://www.beautifullife.info/">beautiful</a><a href="http://www.grungemagazine.com/">grunge</a></div>
    </div>
   
</body>
</html>
 <script language="JavaScript">
        function checkimg(element,helperMsg){
            if(element.value == "No file chosen"){
                alert(helperMsg);
                elem.focus(); // set the focus to this input
                return false;
            }
            return true;
        }
        function emailValidator(elem, helperMsg){
            var emailExp = /^[\w\-\.\+]+\@[a-zA-Z0-9\.\-]+\.[a-zA-z0-9]{2,4}$/;
            if(elem.value.match(emailExp)){
                return true;
            }else{
                alert(helperMsg);
                elem.focus();
                return false;
            }
        }
        // If the length of the element's string is 0 then display helper message
        function notEmpty(elem, helperMsg){
            if(elem.value.length == 0){
                alert(helperMsg);
                elem.focus(); // set the focus to this input
                return false;
            }
            return true;
        }
        // If the element's string matches the regular expression it is all numbers
        function isNumeric(elem, helperMsg){
            var numericExpression = /^[0-9]+$/;
            if(elem.value.match(numericExpression)){
                return true;
            }else{
                alert(helperMsg);
                elem.focus();
                return false;
            }
        }


        function formValidator(){
            // Make quick references to our fields
            var Name = document.getElementById('Name');
           // var Nationality = document.getElementById('Nationality');
            //var phone = document.getElementById('phone');
            //var Nmail = document.getElementById('Nmail');
            //var sub = document.getElementById('sub');
            //var sendmail = document.getElementById('sendmail');
            // Check each input in the order that it appears in the form!
            if(notEmpty(Name, "Please enter Name")){
              //      if(notEmpty(Nationality, "Please enter Nationality")){
                //        if(isNumeric(phone, "Please enter Phone is number")){
                  //          if(notEmpty(Nmail, "Please enter Email")){
                    //            if(emailValidator(Nmail,"Please check Mail")){
                      //              if(notEmpty(sub, "Please enter Title of mail")){
                        //                if(notEmpty(sendmail, "Please enter Email")){

                                            return true;
                                        }else

                          //          }
                            //    }

                        //}
                    //}
                //}
            //}
            return false;
        }
    </script>